import request from "@/utils/request";
//获取监测老人跌倒监控列表
export function listElderlyFallRecord(query) {
  return request({
    url: "/system/elderlyFallRecord/list",
    method: "post",
    data: query,
  });
}

//监测老人跌倒
export function monitorElderlyFall() {
  return request({
    url: "/system/elderlyFallRecord/showfail",
    method: "get",
  });
}

//标记已读
export function ElderlyFallroger(id) {
  return request({
    url: "/system/elderlyFallRecord/roger/" + id,
    method: "get",
  });
}
